#include "widget.h"

#include <QApplication>
#include <QFile>

QString loadQss()
{
    QFile file(":/style.qss");
    bool ret = file.open(QFile::ReadOnly);
    if(!ret) return "";
    QString s = file.readAll();
    return s;
}

int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    a.setStyleSheet(loadQss());
    Widget w;
    w.show();
    return a.exec();
}
